package com.ruoyi.jypc.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程信息对象 jypc_course
 * 
 * @author Anthony Lu
 * @date 2022-11-14
 */
public class Course extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 课程编号 */
    @Excel(name = "课程编号")
    private String courseId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 学分 */
    @Excel(name = "学分")
    private Integer credit;

    /** 课时 */
    @Excel(name = "课时")
    private Integer creditHours;

    /** 所属系部编号 */
    @Excel(name = "所属系部编号")
    private String departmentId;

    /** 课程类型(0公共基础课  1专业平台课  2专业模块课  3公共选修课  4专业拓展课  5毕业环节  ) */
    @Excel(name = "课程类型(0公共基础课  1专业平台课  2专业模块课  3公共选修课  4专业拓展课  5毕业环节  )")
    private String courseType;

    /** 状态(0正常 1停用) */
    @Excel(name = "状态(0正常 1停用)")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCourseId(String courseId) 
    {
        this.courseId = courseId;
    }

    public String getCourseId() 
    {
        return courseId;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setCredit(Integer credit) 
    {
        this.credit = credit;
    }

    public Integer getCredit() 
    {
        return credit;
    }
    public void setCreditHours(Integer creditHours) 
    {
        this.creditHours = creditHours;
    }

    public Integer getCreditHours() 
    {
        return creditHours;
    }
    public void setDepartmentId(String departmentId) 
    {
        this.departmentId = departmentId;
    }

    public String getDepartmentId() 
    {
        return departmentId;
    }
    public void setCourseType(String courseType) 
    {
        this.courseType = courseType;
    }

    public String getCourseType() 
    {
        return courseType;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("credit", getCredit())
            .append("creditHours", getCreditHours())
            .append("departmentId", getDepartmentId())
            .append("courseType", getCourseType())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
